const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var NewsSchema = new mongoose.Schema({ 
    title: String,  
    desc:String
 });

 NewsSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('News',  NewsSchema);